﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfUserManager
{
    public class Person
    {
        private Guid _id;
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime? BirthDate { get; set; }

        public override string ToString()
        {
            return String.Format("{0:dd/MMM/yyyy} - {1} {2}", BirthDate, FirstName, LastName);
        }
    }

    public partial class User
    {
        public override string ToString()
        {
            return String.Format("{0:dd/MMM/yyyy} - {1} {2}", BirthDate, FirstName, LastName);
        }
    }
}
